package com.gzc.just.play.last.war.centralserver.inventory.repository;

import com.gzc.just.play.last.war.centralserver.inventory.model.Inventory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface InventoryRepository extends JpaRepository<Inventory, Long> {
    
    Optional<Inventory> findByPlayerId(Long playerId);
}
